package com.xingxin.service.impl;

import com.xingxin.entity.Attribute;
import com.xingxin.dao.AttributeMapper;
import com.xingxin.service.AttributeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.junit.After;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 属性表 服务实现类
 * </p>
 *
 * @author mrLiu
 * @since 2021-01-08
 */
@Service
public class AttributeServiceImpl extends ServiceImpl<AttributeMapper, Attribute> implements AttributeService {
    @Autowired
    private AttributeMapper attributeMapper;

    @Override
    public List<Attribute> selectAll() {
        return attributeMapper.selectList(null);
    }
}
